<!DOCTYPE html>
<html>
<head>
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <title>Crew Management</title>
    <meta name="author" content="TruongVX">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--<script type="text/javascript" src="<?php echo $baseurl.'public/theme/default/js/'?>jquery-latest.pack.js"></script>-->
    
    <script type="text/javascript" src="<?php echo $baseurl.'public/theme/default/js/'?>jquery-1.10.2.js"></script>
    <script type="text/javascript" src="<?php echo $baseurl.'public/theme/default/js/'?>jquery-ui.js"></script>
    <script type="text/javascript" src="<?php echo $baseurl.'public/theme/default/js/'?>main.js"></script>
    
    <!-- Core CSS  -->
    <link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/default/'?>css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/default/'?>css/jquery-ui.css">
    <!-- Theme CSS -->
    <link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/default/'?>css/theme.css">
    <link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/default/'?>css/pages.css">
    <link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/default/'?>css/menu-left.css">
    
    <link rel="shortcut icon" href="img/favicon.ico">

</head>
<body class="dashboard">
    <!-- Start: Header -->
    <header class="navbar navbar-fixed-top">
        <?php echo $this->load->view('block/header');?>
    </header>
    <!-- End: Header --> 
    <!-- Start: Main -->
    <div id="main"> 
        <!-- Start: Sidebar -->
        <aside id="sidebar">
        <?php echo $this->load->view('block/left');?>
        </aside>
        <!-- End: Sidebar --> 
        <!-- Start: Content -->
        <section id="content">
        <?php $this->load->view("temp/".($controller ? $controller : 'index')."/".($action ? $action : 'index'),'');?>
        </section>
        <!-- End: Content --> 
    </div>
    <!-- End: Main --> 
    <input type="hidden" id="<?php echo $this->security->get_csrf_token_name(); ?>" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>"/>
    
    </body>
</html>
